﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XStudio.XCRF.Data.Business.Archieve
{
    /// <summary>
    /// 表示一个实体可以实现存档功能
    /// </summary>
    public interface IArchieve
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        Guid ID { get; set; }
        /// <summary>
        /// 记录是否删除
        /// </summary>
        bool IsDeleted { get; set; }

        /// <summary>
        /// 关联主记录ID
        /// </summary>
        Guid? MasterID { get; set; }

        /// <summary>
        /// 创建者ID
        /// </summary>
        Guid? CreaterID { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        DateTime CreateTime { get; set; }

        /// <summary>
        /// 最近修改者ID
        /// </summary>
        Guid? LastModifierID { get; set; }

        /// <summary>
        /// 最近修改时间
        /// </summary>
        DateTime LastModifyTime { get; set; }
    }
}
